<?php //$Rev:: 32         $ // DO NOT REMOVE

class CLIENT_EVENT2 extends Parser
{
    public function parse($args, $obj)
    {
        @list($user, $code) = explode(':', $args, 2);
        switch ($code) {
            //case 0:  $eventmsg = $user . ' has paused typing...';    break;
            case 1:  $eventmsg = $user . ' has entered text...';     break;
            case 2:  $eventmsg = $user . ' is typing...';            break;
            case 15: $eventmsg = $user . ' has closed the message';  break;
        }
        if (!empty($eventmsg)) $obj->core->aim_debug($eventmsg);
    }

}

?>